/* stylelint-disable */
.container {
    position: relative;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    padding: 0 16px;
    background: linear-gradient(180deg, #2c245c 0%, #60549a 100%);
    background-size: 100% 100%;

    &::before {
        position: absolute;
        right: 0;
        left: 0;
        display: block;
        height: 100vh;
        background-image: url(../../../resource/level/background.png);
        background-size: 100% 100%;
        content: '';
    }

    .header {
        overflow: hidden;

        .title {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 72px;
            margin: 24px auto;
            color: #ffffff;
            font-weight: 500;
            font-size: 20px;
            line-height: 20px;
            background: #394e40;
            border: 3px solid #0f0600;
            border-radius: 8px;
            box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.2), inset -3px -6px 0px 0px #262827;
        }

        :global {
            .light {
                width: 40px;
                margin-top: -4px;
                margin-right: 14px;
            }
        }
    }

    .scroll_wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        height: calc(100vh - 210px);
        padding-bottom: 114px;
        overflow: auto;
    }

    .ques_wrapper {
        position: relative;
        display: inline-block;
        align-self: flex-start;
        margin-bottom: 16px;
        padding: 24px 16px 14px 47px;
        color: #36315d;
        font-weight: 400;
        // background: #e5e4e3;
        // box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.2);
        // border-radius: 8px;
        // border: 3px solid #0f0600;
        font-size: 16px;
        line-height: 22px;
        word-break: break-all;

        &::after {
            position: absolute;
            bottom: 5px;
            left: 5px;
            display: block;
            width: 34px;
            height: 34px;
            background-image: url(../../../resource/home/avatar.png);
            background-repeat: no-repeat;
            background-size: contain;
            content: '';
        }

        &::before {
            position: absolute;
            top: 7px;
            right: 0;
            bottom: 0;
            left: 0;
            width: 91%;
            background: #e5e4e3;
            border: 0.8vw solid #0f0600;
            border-radius: 13px;
            box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.2);
            transform: perspective(100vw) rotateY(-5deg);
            /* z-index: -1; */
            transform-origin: bottom left;
            content: '';
        }

        span {
            position: relative;
            z-index: 10;
        }
    }

    .answet_wrapper {
        position: relative;
        display: inline-block;
        align-self: flex-end;
        margin-bottom: 16px;
        padding: 24px 47px 14px 16px;
        color: #36315d;
        color: #ffffff;
        font-weight: 400;
        font-weight: 400;
        // background: #4fdd94;
        // box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.2);
        // border-radius: 8px;
        // border: 3px solid #0f0600;
        font-size: 16px;
        font-size: 16px;
        line-height: 22px;
        line-height: 22px;
        word-break: break-all;

        &::after {
            position: absolute;
            right: 5px;
            bottom: 5px;
            display: block;
            width: 34px;
            height: 34px;
            background-image: url(../../../resource/vision/stu_avatar.png);
            background-repeat: no-repeat;
            background-size: contain;
            content: '';
        }

        &::before {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: #4fdd94;
            border: 3px solid #0f0600;
            border-radius: 16px;
            box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.2);
            transform-origin: bottom right;
            content: '';
        }

        span {
            position: relative;
            z-index: 10;
        }
    }

    .bar_container {
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        width: 375px;
        height: 80px;
        padding: 20px 16px;
        background: rgba(54, 49, 93, 0.5);

        .input_wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 251px;
            height: 40px;
            background: #e5e4e3;
            border: 2px solid #0f0600;
            border-radius: 8px;
            box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.2),
                inset 0px -3px 0px 0px rgba(0, 0, 0, 0.5);

            .input {
                width: 220px;
                color: #36315d;
                font-weight: 400;
                font-size: 16px;
                line-height: 22px;
            }

            :global {
                .adm-input-element::placeholder {
                    color: #999999;
                }
            }
        }

        .send_btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 40px;
            color: #0f0600;
            font-weight: 500;
            font-size: 16px;
            line-height: 22px;
            background: #91c6f7;
            border: 2px solid #0f0600;
            border-radius: 8px;
            box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -4px 0px 0px #6084a4;
        }
    }

    .next_step_btn {
        position: relative;
        bottom: -70px;
        box-sizing: border-box;
        width: 208px;
        height: 67px;
        margin: 0 auto;
        padding-left: 40px;
        color: #0f0600;
        font-weight: 500;
        font-size: 24px;
        line-height: 67px;
        background-image: url(../../../resource/level/startTask.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
}
